<?php /* Smarty version 2.6.26, created on 2010-01-09 07:49:31
         compiled from global/login_backend.tpl */ ?>
<?php if (! isset ( $_SESSION['cf_uid'] )): ?>
	<?php echo $this->_tpl_vars['UI']->message("You need administrative permissions to access the Creative Framework Administration Control Panel.",'warning',true); ?>

<?php else: ?>
	<?php echo $this->_tpl_vars['UI']->message("You are currently logged in. Confirm your password.",'success',true); ?>

<?php endif; ?>
<form action='<?php echo @WEB_PATH; ?>
/admin.php?app=global&amp;controller=login' method='post'>
	<fieldset>
		<?php if (! isset ( $_SESSION['cf_uid'] )): ?>
			<label for="username"><?php echo $this->_tpl_vars['Lang']->getFormattedKey("global.user.loginname"); ?>
</label>
				<input type='text' name='username' id='username' tabindex='1' />
		<?php else: ?>
			<p>
				Logged in as <?php echo $this->_tpl_vars['userop']['display']; ?>
 (<?php echo $this->_tpl_vars['userop']['username']; ?>
)
			</p>
			<input type='hidden' name='username' value='<?php echo $this->_tpl_vars['userop']['username']; ?>
' />
		<?php endif; ?>
		<label for="password"><?php echo $this->_tpl_vars['Lang']->getFormattedKey("global.user.password"); ?>
</label>
			<input type='password' name='password' id='password' tabindex='2' />
	</fieldset>
		<button type="submit" class="zurb green small" tabindex="3">
			Log in
		</button>
		<a class="zurb red small" href="<?php echo @WEB_PATH; ?>
" tabindex="4">
			Go back
		</a>
</form>